* on a single `OstreeRepo` instance as long as their lifetime is bounded by the
* transaction.
*
+ * Locking: Acquires a `shared` lock; release via commit or abort
* Multithreading: This function is *not* MT safe; only one transaction can be
* active at a time.
- *
- * This function takes a shared lock on the @self repository.
*/
gboolean
ostree_repo_prepare_transaction (OstreeRepo *self,
* Note that if multiple threads are performing writes, all such threads must
* have terminated before this function is invoked.
*
+ * Locking: Releases `shared` lock acquired by `ostree_repo_prepare_transaction()`
* Multithreading: This function is *not* MT safe; only one transaction can be
* active at a time.
*/
* targeting that commit; otherwise any static delta of non existing commits are
* deleted.
*
- * This function takes an exclusive lock on the @self repository.
+ * Locking: exclusive
*/
gboolean
ostree_repo_prune_static_deltas (OstreeRepo *self, const char *commit,
* statistics on objects that would be deleted, without actually
* deleting them.
*
- * This function takes an exclusive lock on the @self repository.
+ * Locking: exclusive
*/
gboolean
ostree_repo_prune (OstreeRepo *self,
* The %OSTREE_REPO_PRUNE_FLAGS_NO_PRUNE flag may be specified to just determine
* statistics on objects that would be deleted, without actually deleting them.
*
- * This function takes an exclusive lock on the @self repository.
+ * Locking: exclusive
*/
gboolean
ostree_repo_prune_from_reachable (OstreeRepo *self,